<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="../common/init.jsp"%>

<table class="table-tml-2">
    <thead>
    <tr>
        <td>
            <c:choose>
                <c:when test="${(order.intTxnCd eq '00500') or (order.intTxnCd eq '01300') or (order.intTxnCd eq '01302')}">
                    收款用户
                </c:when>
                <c:otherwise>
                    收款商户
                </c:otherwise>
            </c:choose>
        </td>
        <td>订单号</td>
        <td>金额（元）</td>
        <c:if test="${order.feePayer eq '01' }">
            <td>手续费（元）</td>
        </c:if>
        <c:if test="${!empty order.merCommAmt}">
            <td>商户佣金（元）</td>
        </c:if>
        <td>下单时间</td>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>${order.recvName}</td>
        <td>${order.merOrderId}</td>
        <td><span class="red">${order.merTxnAmt}</span></td>
        <c:if test="${order.feePayer eq '01' }">
            <td><span class="red" id="orderFeeAmt">${order.feeAmt}</span></td>
        </c:if>
        <c:if test="${!empty order.merCommAmt}">
            <td><span class="red">${order.merCommAmt}</span></td>
        </c:if>
        <td>${order.orderDate}</td>
    </tr>
    </tbody>
</table>
